package com.fhzn.boss.web.request;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author 老顾
 * @apiNote
 * @since 2024/3/25
 */
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@Data
public class LabelQueryRequest extends BaseRequest {

    @NotEmpty
    private String type;

    private String name;

    private String code;

    @NotNull
    private Integer parentId;

    @Override
    public Object genServiceParam() {
        return null;
    }
}
